package com.qf.day06.Homework;

public class Demo {
    public static void main(String[] args) {
        Hero hero = new Hero();
        hero.setAgile(80);
        hero.setIntellect(80);
        hero.setName("王兴硕");
        hero.setPower(80);
        hero.attack();
    }
}
